@charset "utf-8";
/* CSS Document */

/*-----------------------------------------------------------共通項目*/
#wrapper {
  width: 1100px; /*1100px */
  margin: auto;
}

/*---------------------------------text-align*/

.center {
  text-align: center;
}
.ta_r {
    text-align: right;
}
.ta_l {
    text-align: left;
}

a {
    text-decoration: none;
}

/*-----------------------------------------TOPのテキスト部分*/

.top_p {
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
    color: #333333;
}

.top_mini {
    color: #CD0003;
    text-align: center;
    margin-top: -1rem;
    margin-bottom: 1rem;
    font-size: 16px;
}

/*-----------------------------------------TOPのボタン部分*/

.btn {
    width: 30rem;
    height:50px;
    line-height:50px;
    margin:0 auto;
    margin-bottom: 2rem;
}

.btn a {
    display:block;
    width:100%;
    height:100%;
    margin: 15px.0.0.0;
    text-decoration: none;
    background:#FECF01;
    text-align:center;
    color:#333333 !important;
    font-size:20px !important;
    font-weight:bold;
    border-radius:11px;
    box-shadow:0px 5px 8px 0px #BBBBBB ;
}

.btn a:hover {
    background:#FE5001;;
    color:#FFFFFF !important;
    margin-left:0px;
    margin-top:15px;
    box-shadow:none;
    text-decoration: none !important;
    transform: translateY(2px);
}
/*-----------------------------------------アプリケーション事例*/

.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /*4列固定 */
  row-gap: 40px;
  padding: 40px;
  text-align: center;
}

.app-grid a {
  font-weight: bold;
  text-decoration: underline !important;
  color: #333333 !important;
}

/*-----------------------------------------会社概要部分*/

dt {
  font-size: 1rem;
}
.companyinfo  {
  margin-top: -2em;
  margin-left: 4em;
  margin-bottom: -0.1em;
}

.company {
  margin-left: 2rem;
  line-height: 1.5em;
  font-size: 1rem;
}

/*-----------------------------------------主要製品部分*/

/* タブ全体：PCは最大幅 1104px を中央寄せ */
.tabs {
  max-width: 1104px;
  margin: 0 auto;
}

/* タブ行：横並び（均等幅） */
.tablist {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

/* タブボタン */
.tab {
  flex: 1;
  height: 4rem;
  border: 3px solid #333333;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  border-radius: 20px;
}

/* 選択中タブ */
.tab[aria-selected="true"] {
  background: #fedccc;
  border: 3px solid #fe5001;
}

/* パネル（表示エリア） */
.panel {
  min-height: 200px;
  display: none;
}

/* =========================
  パネル内カードレイアウト（中央寄せ・HTMLそのまま）
========================= */

/* カード全体の並び */
.panel section {
  display: flex;
  flex-wrap: wrap;          /* 折り返し */
  justify-content: center;  /* ★ 中央寄せ */
  gap: 32px 24px;           /* 横・縦の余白を広めに */
  padding: 32px 16px;
}

/* 1カード */
.panel section > div {
  flex: 0 1 240px;          /* 基準幅 */
  max-width: 260px;
  text-align: center;
}

/* 画像（pの中にある前提） */
.panel section > div p:first-child {
  margin: 0 0 14px;
}

.panel section > div img {
  display: block;
  margin: 0 auto;
  max-width: 240px;
  height: auto;
}

/* シリーズ名 */
.panel section > div h3 {
  margin: 10px 0 14px;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: 0.03em;
  white-space: nowrap;      /* PCでは1行固定 */
}

/* 特徴・リンク */
.panel section > div p {
  margin: 8px 0;
  font-size: 1rem;
}

.panel section > div a {
  display: inline-block;
  margin-top: 6px;
}
/* 表示中パネル */
.panel.is-active {
  display: block;
}

/* -------------------------h4の設定について */

.h4_normal {
    font-size: 1.25rem;
    color: #333333;
    background: #ffffff;
    padding: 6px;
    margin: 20px;
}

.ff {
  font-family: 'Hiragino Kaku Gothic W7 JIS2004' !important;
}
